/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cashbox.gui.actions;

import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import static javax.swing.Action.ACCELERATOR_KEY;
import static javax.swing.Action.MNEMONIC_KEY;
import static javax.swing.Action.NAME;
import static javax.swing.Action.SHORT_DESCRIPTION;
import javax.swing.KeyStroke;

/**
 *
 * @author Gustavo Enrique Ruiz Cisneros
 */
public class EliminarAction extends AbstractAction{
        public static String NOMBRE="Eliminar";
    public static String DESCRIPCION="Elimina los registros seleccionados";
    protected static int KEVENT=KeyEvent.VK_S;
   
    

    public EliminarAction() {
            putValue(NAME, NOMBRE);
            putValue(SHORT_DESCRIPTION, DESCRIPCION);
            putValue(MNEMONIC_KEY, new Integer(KEVENT));
            putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KEVENT, 
                    Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
            //putValue(SMALL_ICON, Configuracion.ICONO_GUARDAR);
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
